package com.xuhuan.demo.uuid;

import java.util.UUID;

/**
 * @Author huan.xu
 * @Date 2023/6/16 10:41
 * @Description uuid工具类
 */
public class UuidUtil {

    private UuidUtil() {
    }

    public static String getUuid() {
        UUID uuid = UUID.randomUUID();
        String uuidStr = uuid.toString();
        uuidStr = uuidStr.replace("-", "");
        return uuidStr;

    }
}
